aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: da1552f07a38e584761eaa2e97c3e414e2c9772e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.wasm:	file format wasm 0x1

Section Details:

Type[1]:
 - type[0] () -> nil
Import[2]:
 - table[0] type=funcref initial=0 <- env.__indirect_function_table
 - memory[0] pages: initial=0 <- env.__linear_memory
Function[1]:
 - func[0] sig=0 <f>
Code[1]:
 - func[0] size=10 <f>
Custom:
 - name: "name"
 - func[0] <f>
 - func[0] local[0] <local__y__0>
 - func[0] local[1] <local__x__0>
 - func[0] local[2] <local__z__0>
Custom:
 - name: "linking"
  - symbol table [count=1]
   - 0: F <f> func=0 [ binding=global vis=default ]

Code Disassembly:

000066 func[0] <f>:
 000067: 01 7f                      | local[0] type=i32
 000069: 01 7f                      | local[1] type=i32
 00006b: 01 7f                      | local[2] type=i32
 00006d: 20 01                      | local.get 1 <local__x__0>
 00006f: 0b                         | end